package com.mt.channel.mapper;

import java.util.List;
import java.util.Map;

import com.mt.channel.entity.ChannelAdminRoleRelateEntity;

public interface ChannelAdminRoleRelateMapper {
    int deleteByPrimaryKey(Integer channelAdminRoleId);

    int insert(ChannelAdminRoleRelateEntity record);

    int insertSelective(ChannelAdminRoleRelateEntity record);

    ChannelAdminRoleRelateEntity selectByPrimaryKey(Map<String, Object> params);

    int updateByPrimaryKeySelective(ChannelAdminRoleRelateEntity record);

    int updateByPrimaryKey(ChannelAdminRoleRelateEntity record);

    List<ChannelAdminRoleRelateEntity> selectList(Map<String, Object> params);

    int doUpdateByPrimaryKey(Integer channelAdminRoleId);

    /**
     * 批量添加用户关联的角色数据
     * 
     * @param channelAdminRoleList
     * @return
     */
    int insertList(List<ChannelAdminRoleRelateEntity> channelAdminRoleList);
}